common/domain: helpers to pause a domain while in context
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 24 Jul 2015 11:23:59 +0000 (13:23 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 24 Jul 2015 11:23:59 +0000 (13:23 +0200)
commitaace3f16d23a8aab93b768b4655c138ff4ba0aa9
tree145fb1387d41adbce509589c18e3e692a91dee69
parent78222eb476e24833880a94e8cbd193e797abbe18
common/domain: helpers to pause a domain while in context

For use on codepaths which would need to use domain_pause() but might be in
the target domain's context.  In the case that the target domain is in
context, all other vcpus are paused.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: George Dunlap <george.dunlap@eu.citrix.com>
Release-acked-by: Wei Liu <wei.liu2@citrix.com>
xen/common/domain.c
xen/include/xen/sched.h